home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
cat3
/
Backslash.3
< prev
next >
Wrap
Text File
|
1994-09-20
|
1KB
|
67 lines
Tcl_Backslash(3) Tcl Library Procedures
_________________________________________________________________
NAME
Tcl_Backslash - parse a backslash sequence
SYNOPSIS
#include <tcl.h>
char
Tcl_Backslash(_s_r_c, _c_o_u_n_t_P_t_r)
ARGUMENTS
char *_s_r_c (in) Pointer to a string starting
with a backslash.
int *_c_o_u_n_t_P_t_r (out) If _c_o_u_n_t_P_t_r isn't NULL,
*_c_o_u_n_t_P_t_r gets filled in with
number of characters in the
backslash sequence, including
the backslash character.
_________________________________________________________________
DESCRIPTION
This is a utility procedure used by several of the Tcl com-
mands. It parses a backslash sequence and returns the sin-
gle character corresponding to the sequence. Tcl_Backslash
modifies *_c_o_u_n_t_P_t_r to contain the number of characters in
the backslash sequence.
See the Tcl manual entry for information on the valid
backslash sequences. All of the sequences described in the
Tcl manual entry are supported by Tcl_Backslash.
KEYWORDS
backslash, parse
Tcl 1